package com.book.mapper;

import com.book.entity.Menu;
import com.book.vo.MenuVo;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Set;

public interface MenuMapper extends Mapper<Menu> {

    List<MenuVo> selectMenuByUserName(String userName);

    List<MenuVo> selectAllPermission();


    List<MenuVo> selectPermissionByRoleId();

    List<String> selectPermissionByUserName(String userName);

}
